package com.lagou.homework2;

public class NewPhone extends CellPhone {
    @Override
    public void call() {
        System.out.println("新手机：我正在打电话！");
    }

    @Override
    public void text() {
        System.out.println("新手机：我正在发短信！");

    }

    @Override
    public void playGame() {
        System.out.println("新手机：我能玩游戏，但是老手机没有这个功能！");
    }

    @Override
    public void ability() {
        call();
        text();
        playGame();
    }
}
